%%%%(c) COPYRIGHT NOTICE%FOLDUP
%%%%(c)
%%%%(c)  This file is a portion of the source for the textbook
%%%%(c)
%%%%(c)    Numerical Methods
%%%%(c)    Copyright (C) 2004--2010 Steven E. Pav
%%%%(c)    Copyright (C) 2010 Minh Van Nguyen
%%%%(c)
%%%%(c)  See the file COPYING for copying conditions
%%%%(c)
%%%%(c)%UNFOLD
\documentclass[a4paper,twoside,12pt]{book}

\usepackage{numasstyle}

\begin{document}

\title{\Huge\bf Numerical Methods}%FOLDUP
\author{%
  Steven E. Pav \\
  Minh Van Nguyen
}
\date{%
  Version~\numasEdition \\
  \today
}
%UNFOLD
\maketitle

%% Copyright page
{\thispagestyle{empty}
  \import*{./tex/}{copyright} \\\\
  \textbf{Edition} \\
  Version~\numasEdition \\
  \today
}

%% Front matter
\frontmatter
\import*{./tex/}{preface}
\let\cleardoublepage\clearpage
%% Only list chapters and sections
\setcounter{tocdepth}{1}
\tableofcontents
\listoffigures
\addcontentsline{toc}{chapter}{List of Figures}
\let\cleardoublepage\clearpage
\listofalgorithms
\addcontentsline{toc}{chapter}{List of Algorithms}
\let\cleardoublepage\clearpage
\listoftables
\addcontentsline{toc}{chapter}{List of Tables}
\let\cleardoublepage\clearpage

%% Main matter
\mainmatter
%%the chapters%FOLDUP
\import*{./tex/}{intro}
\import*{./tex/}{sage}
\import*{./tex/}{linearsys}
\import*{./tex/}{rootfind}
\import*{./tex/}{interpolate}
\import*{./tex/}{splines}
\import*{./tex/}{derivatives}
\import*{./tex/}{quadrature}
\import*{./tex/leastsquares/}{leastsquares}
\import*{./tex/}{odes}
%these are only stubs right now;
%\import*{./tex/}{fdm}
%\import*{./tex/}{fem}
%UNFOLD

%% Appendices
\appendix
\import*{./tex/}{oldexams}
\import*{./tex/}{fdl}

\nocite{MR97g:65003,Bag2002}

%% Back matter
\backmatter

%FOLDUP
\bibliographystyle{bibliography}
\addcontentsline{toc}{chapter}{Bibliography}
\bibliography{numas}
\printindex

%\section{Code}\label{sec:code}
%\input{allcode}
%UNFOLD
\end{document}
%for vim modeline: (do not edit)
% vim:ts=2:sw=2:tw=79:fdm=marker:fmr=FOLDUP,UNFOLD:cms=%%s:tags=tags;:syntax=tex:filetype=tex:ai:si:cin:nu:fo=croqt:cino=p0t0c5(0:
